package cn.zkc.library.utils;

import cn.zkc.library.modal.User;

public class ConCurrentUtils {

    private static ThreadLocal<User> host = new ThreadLocal<>();
    public static User getHost(){
        return host.get();
    }
    public static void setHost(User user){
        host.set(user);
    }
}
